﻿using System.Collections.Generic;

namespace AbstractProducts
{
    public sealed class ProductDependency
    {
        private readonly ProductRef m_DependentProductRef;
        private readonly IEnumerable<string> m_AssemblyRefs;

        public ProductDependency(ProductRef dependentProductRef, IEnumerable<string> assemblyRefs)
        {
            m_DependentProductRef = dependentProductRef;
            m_AssemblyRefs = assemblyRefs;
        }

        public ProductRef DependentProductRef
        {
            get { return m_DependentProductRef; }
        }

        public IEnumerable<string> AssemblyRefs
        {
            get { return m_AssemblyRefs; }
        }
    }
}